<?php

use Illuminate\Database\Seeder;

class ZhnaghaoSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        /*DB::table('back_login')->insert([
            'username' => '杨天赐',
            'password'=> '123456',
        ]);*/
        $User = factory(\App\Model\ZhangModel::class,10)->make();
        \App\Model\ZhangModel::insert( $User->toArray() );
    }
}
